package org.zcl.sqlserver.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * .
 *
 * @author zhuchenglin
 * @since 2024/10/21 14:35
 */
@Data
public class CouponCampaignMaster {
    @Id
    private String id;
    private String companyCode;
    private String brandCode;
    private String couponCode;
    private String couponCampaignDescription;
    private String campaignCode;
    private String campaignCodeType;
    private String couponType;
    private String discountCode;
    private String discountBy;
    private BigDecimal discountRate;
    private Integer period;
    private String periodType;
    private Integer maxCouponCount;
    private String isActive;
    private LocalDateTime validStartDate;
    private LocalDateTime validEndDate;
    private String campaignDept;
    private String targetCustomerConstraint;
    private BigDecimal timeControl;
    private BigDecimal timeFrequency;
    private String counterActivateCoupon;
    private String counterSendCoupon;
    private String counterRedeemCoupon;
    private String redeemCustomerConstraint;
    private String wechatModuleID;
    private String targetListsRule;
    private String defaultActivate;
    private LocalDateTime couponVisibleDate;
    private String reference1;
    private String reference2;
    private String reference3;
    private String reference4;
    private String reference5;
    private String reference6;
    private String reference7;
    private String reference8;
    private String reference9;
    private String redeemControl;
    private String createUser;
    private LocalDateTime createTime;
    private String updateUser;
    private LocalDateTime updateTime;
    private String couponOwner;
    private String couponBusinessType;
    private String couponProductCategory;
    private String couponProductFranchise;
    private String couponSubject;
    private Integer couponSafeStock;
    private String onlineChannelCode;
    private String timelinessControl;
}
